package com.example.yigoumall.entity;

import lombok.Data;
import java.math.BigDecimal;

@Data
public class Product {
    private Integer id;
    private String name;
    private String description;
    private BigDecimal price;
    private Integer stock;
    private Integer categoryLevel1;
    private Integer categoryLevel2;
    private Integer categoryLevel3;
    private String fileName;
    private Integer isDelete;
    
    // 手动添加setId方法确保Lombok生效
    public void setId(Integer id) {
        this.id = id;
    }
}